﻿// <copyright file="ConnectionPropertiesElement.cs" company="Todd Aspeotis">
//  Copyright © 2011 Todd Aspeotis
// </copyright>

namespace LocalReportsEngine.ReportDefinitionElements
{
    using System.Collections.Generic;
    using System.Xml.Linq;

    /// <summary>
    /// Provides a representation of the ConnectionProperties element.
    /// </summary>
    public class ConnectionPropertiesElement
    {
        /// <summary>
        /// Prevents a default instance of the ConnectionPropertiesElement class from being created.
        /// </summary>
        private ConnectionPropertiesElement()
        {
        }

        /// <summary>
        /// Gets the name of the report definition element this class represents.
        /// </summary>
        public static string ElementName
        {
            get { return "ConnectionProperties"; }
        }

        /// <summary>
        /// Gets or sets the value of the ConnectString child element.
        /// </summary>
        public string ConnectString { get; set; }

        /// <summary>
        /// Gets or sets the value of the DataProvider child element.
        /// </summary>
        public string DataProvider { get; set; }

        /// <summary>
        /// Gets or sets the value of the IntegratedSecurity child element.
        /// </summary>
        public string IntegratedSecurity { get; set; }

        /// <summary>
        /// Gets or sets the value of the Prompt child element.
        /// </summary>
        public string Prompt { get; set; }
    }
}
